<table border="0" width="98%" cellspacing="0" cellpadding="0"  align=center>
<tr>

<core:default for="inbox">
 <td height="25" width="10%" align="center" class="center" style="border:1px solid #000000;border-left:1px solid #CECECE;" bgcolor="#CECECE">
   <a href="/{$#app_name}/admin.php?pathinfo=inbox"><b>INBOX</b></a>
 </td>
</core:default>

<core:optional for="inbox">
 <td height="25" width="10%" align="center" class="center" style="border-left:1px solid #000000;border-top:1px solid #000000;border-right:1px solid #000000;" bgcolor="#CECECE">
    <a href="/{$#app_name}/admin.php?pathinfo=inbox"><b>INBOX</b></a>
 </td>
</core:optional>

<core:default for="content">
 <td height="25" width="10%" align="center" class="center" style="border:1px solid #000000;border-left:1px solid #CECECE;" bgcolor="#CECECE">
    <!--<html:link url="/content"><b>Manage content</b></html:link> -->
    <a href="/{$#app_name}/admin.php?pathinfo=content"><b>Manage content</b></a>
 </td>
</core:default>

<core:optional for="content">
 <td height="25" width="10%" align="center" class="center" style="border-left:1px solid #000000;border-top:1px solid #000000;border-right:1px solid #000000;" bgcolor="#CECECE">
   <a href="/{$#app_name}/admin.php?pathinfo=content"><b>Manage content</b></a>
 </td>
</core:optional>

<core:optional for="IsAdmin">
<core:default for="site_layout">
 <td height="25" width="10%" align="center" class="center" style="border:1px solid #000000;border-left:1px solid #CECECE;" bgcolor="#CECECE">
   <a href="/{$#app_name}/admin.php?pathinfo=site_layout"><b>Site Layout</b></a>
 </td>
</core:default>

<core:optional for="site_layout">
 <td height="25" width="10%" align="center" class="center" style="border-left:1px solid #000000;border-top:1px solid #000000;border-right:1px solid #000000;" bgcolor="#CECECE">
    <a href="/{$#app_name}/admin.php?pathinfo=site_layout"><b>Site Layout</b></a>
 </td>
</core:optional>
</core:optional>

<core:optional for="IsAdmin">
<core:default for="users">
 <td height="25" width="10%" align="center" class="center" style="border:1px solid #000000;border-left:1px solid #CECECE;" bgcolor="#CECECE">
   <a href="/{$#app_name}/admin.php?pathinfo=users"><b>User accounts</b></a>
 </td>
</core:default>

<core:optional for="users">
 <td height="25" width="10%" align="center" class="center" style="border-left:1px solid #000000;border-top:1px solid #000000;border-right:1px solid #000000;" bgcolor="#CECECE">
    <a href="/{$#app_name}/admin.php?pathinfo=users"><b>User accounts</b></a>
 </td>
</core:optional>
</core:optional>

<core:default for="teamstats">
 <td height="25" width="10%" align="center" class="center" style="border:1px solid #000000;border-left:1px solid #CECECE;" bgcolor="#CECECE">
   <a href="/{$#app_name}/admin.php?pathinfo=teamstats"><b>Team Stats</b></a>
 </td>
</core:default>

<core:optional for="teamstats">
 <td height="25" width="10%" align="center" class="center" style="border-left:1px solid #000000;border-top:1px solid #000000;border-right:1px solid #000000;" bgcolor="#CECECE">
    <a href="/{$#app_name}/admin.php?pathinfo=teamstats"><b>Team Stats</b></a>
 </td>
</core:optional>

<core:default for="calendar">
 <td height="25" width="10%" align="center" class="center" style="border:1px solid #000000;border-left:1px solid #CECECE;" bgcolor="#CECECE">
   <a href="/{$#app_name}/admin.php?pathinfo=calendar"><b>Manage calendar</b></a>
 </td>
</core:default>

<core:optional for="calendar">
 <td height="25" width="10%" align="center" class="center" style="border-left:1px solid #000000;border-top:1px solid #000000;border-right:1px solid #000000;" bgcolor="#CECECE">
   <a href="/{$#app_name}/admin.php?pathinfo=calendar"><b>Manage calendar</b></a>
 </td>
</core:optional>

<core:optional for="IsAdmin">
<core:default for="forum">
 <td height="25" width="10%" align="center" class="center" style="border:1px solid #000000;border-left:1px solid #CECECE;" bgcolor="#CECECE">
    <a href="/{$#app_name}/admin.php?pathinfo=forum"><b>Manage forum</b></a>
 </td>
</core:default>

<core:optional for="forum">
 <td height="25" width="10%" align="center" class="center" style="border-left:1px solid #000000;border-top:1px solid #000000;border-right:1px solid #000000;" bgcolor="#CECECE">
    <a href="/{$#app_name}/admin.php?pathinfo=forum"><b>Manage forum</b></a>
 </td>
</core:optional>
</core:optional>


   <td colspan=3 height="25" align="center" class="center" style="border:1px solid #000000;border-left:1px solid #CECECE;" width="2%"  bgcolor="#CECECE">
       	<b>&nbsp;</b>
   </td>

   <td height="25" align="center" width="200"  class="center" style="border:1px solid #000000;border-left:1px solid #CECECE;" bgcolor="#CECECE">
       	<b>Hello, {$username} </b> <a href="/{$#app_name}/logout.htm">Sign out </a>
   </td>

 </tr>
</table>